Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-88265 | VROM-PG-000190 | SV-98915r1_rule | Medium |
Description |
---|
The DoD standard for authentication is DoD-approved PKI certificates. Authentication based on User ID and Password may be used only when it is not possible to employ a PKI certificate, and requires AO approval. In such cases, database passwords stored in clear text, using reversible encryption, or using unsalted hashes would be vulnerable to unauthorized disclosure. Database passwords must always be in the form of one-way, salted hashes when stored internally or externally to the DBMS. |
STIG | Date |
---|---|
VMW vRealize Operations Manager 6.x PostgreSQL Security Technical Implementation Guide | 2018-10-11 |
Check Text ( C-87957r1_chk ) |
---|
At the command prompt, execute the following command to enter the psql prompt: # cat /storage/db/vcops/vpostgres/data/pg_hba.conf If any rows have "trust" specified for the "METHOD" column, this is a finding. |
Fix Text (F-95007r1_fix) |
---|
Navigate to and open /storage/db/vcops/vpostgres/data/pg_hba.conf. Navigate to the user that has a method of "trust". Change the method to md5. A correct, typical line will look like the below: # TYPE DATABASE USER ADDRESS METHOD host all all 127.0.0.1/32 md5 |